package com.atguigu.tingshu.album.impl;


import com.atguigu.tingshu.album.AlbumInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.*;
import com.atguigu.tingshu.vo.album.AlbumStatVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Slf4j
@Component
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {


    @Override
    public Result<AlbumInfo> getAlbumInfoById(Long id) {
        log.error("[专辑服务调用失败]!!,getAlbumInfoById()专辑信息异常");
        return null;
    }

    @Override
    public Result<BaseCategoryView> getBaseCategoryViewByCategory3Id(Long category3Id) {
        log.error("[专辑服务调用失败],getBaseCategoryViewByCategory3Id()方法异常");
        return null;

    }

    @Override
    public Result<List<BaseCategory3>> getTop7BaseCategory3(Long category1Id) {

        log.error("[专辑服务调用失败],getTop7BaseCategory3()方法异常");
        return null;
    }

    @Override
    public Result<AlbumStatVo> getAlbumStat(Long albumId) {

        log.error("[专辑服务调用失败],getAlbumStat()方法异常");
        return null;
    }

    @Override
    public Result<List<BaseCategory1>> getBaseCategory1IdList() {

        log.error("[专辑服务调用失败],getBaseCategory1IdList()方法异常");
        return null;
    }

    @Override
    public Result<List<TrackInfo>> getWaitPayTrackInfoList(Long trackId, Integer trackCount) {

        log.error("[代购商品失败],getWaitPayTrackInfoList()");
        return null;
    }

    @Override
    public Result<TrackInfo> getTrackInfo(Long id) {
        log.error("[获取专辑详情失败了],getTrackInfo()");
        return null;
    }
}
